package org.apache.cayenne.launcher;

import org.apache.cayenne.extentions.modeler.PluginMain;
import org.apache.cayenne.modeler.editor.datanode.MainDataNodeEditor;
import org.eclipse.core.runtime.IPath;

import org.eclipse.ui.IEditorLauncher;



public class EditorLauncher   implements IEditorLauncher {

	@SuppressWarnings("static-access")
	public void open(IPath file) {
		System.out.println("Launch Successful : file Location = "+
				 file.toString());
		

		String[] args = new String[] { file.toString() };
		new PluginMain(args).main(args);
        
	}	

}